<template>
    <header class="header">
      <img src="/static/images/back.png" class="back">
      <input type="text" placeholder="输入城市/景点/游玩主题" class="txt">
      <router-link to="/city">
      <div><span>{{this.$store.state.currcity}}</span><img src="/static/images/sile.png"></div>
      </router-link>
    </header>
</template>

<script>
  export default {
  name: 'insehead',
  data () {
    return {
      
    }
  }
}
</script>

<style scoped>
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
    background: #00bcd4;
  }
  .header .back {
    padding-left: 16px;
    width: 23px;
    height: 40px;
  }
  .header .txt {
    width: 64%;
    height: 26px;
    padding: 14px 0 ;
    line-height: 26px;
    border-radius: 5px;
    border: none;
    padding-left: 60px;
    background: url(/static/images/saerch.png) no-repeat 16px center #fff;
    background-size: 32px 34px;
  }
  .txt::placeholder{
    font-size: 26px;
    color: #d4d4d4;
  }
  .header div{
    padding-right: 18px;
    display: flex;
    justify-content: flex-end;
  }
  .header div span{
    color: #fff;
    font-size: 28px;
    padding-right: 8px;
  }
  .header div img {
    padding-top: 8px;
    width: 23px;
    height: 15px;
  }
</style>
